package cn.e4j.core.dto.requestDtoResolver;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.system.entity.SysUser;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * Dto包装类
 *  解决无法直接使用Dto做resolver对象，因为系统已经有Map类型resolver会被系统方法拦截
 *
 * @author wenchuan.li
 * @date 2018/12/6 17:58
 */
@Getter
@Setter
@Accessors(chain = true)
public class DtoWapper {

    private Dto dto;

    private Page<Object> page;

    private SysUser sysUser;

    public DtoWapper() {
        this.dto = new Dto();
    }
}
